<a class="btn btn-success btn-block" href="/ideas/add">添加</a>
{{#each ideas}}
    <div class="card card-body mb-2">
        <h3>{{title}}</h3>
        <p>{{details}}</p>
        <a class="btn btn-dark btn-block" href="/ideas/find/{{id}}">编辑</a>
        <form action="/ideas/del/{{id}}?_method=DELETE" method="POST">
            <input type="hidden" name="_method" value="DELETE">
            <input type="submit" class="btn btn-danger btn-block" value="删除">
        </form>
    </div>
{{else}}
    <p class="alert alert-danger">啥都没有了哟~~</p>
{{/each}}
